import Vue from 'vue'
import App from './App'

import configs from '@/config/app.js'
import Store from '@/store/index.js'
import Cache from '@/utils/cache'
import CryptoJS from 'crypto-js'

//封装方法挂载到原型上
Vue.prototype.$Config = configs;
Vue.prototype.$Cache = Cache;
Vue.prototype.$store = Store;
Vue.prototype.$CryptoJS = CryptoJS;

import "@/utils/index.js"

import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	...App,
	Store,
	Cache
})
app.$mount()
